home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / intact / r3iaphys.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.2 KB  |  49 lines

  1.  
  2. // JavaScript wrapper for r3iaphys.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_IAPHYSICAL_H = 1;
  7. include("real/intact/r3ianp.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_IAPHYSICAL = 1432;
  12.  
  13.  
  14.  
  15.  
  16. R3IAPHYSA_SelectedPoints = 1432500;
  17. function SetR3IAPHYSA_SelectedPoints(value) {
  18.   R3Set(this.r3obj, R3IAPHYSA_SelectedPoints, value, R3TID_INTEGER, 0); 
  19. }
  20.  
  21. function GetR3IAPHYSA_SelectedPoints() {
  22.   return R3Get(this.r3obj, R3IAPHYSA_SelectedPoints, R3TID_INTEGER, 0); 
  23. }
  24.  
  25. R3IAPHYSA_Velocity = 1432501;
  26. function SetR3IAPHYSA_Velocity(value) {
  27.   R3Set(this.r3obj, R3IAPHYSA_Velocity, value, R3TID_VECTOR, 0); 
  28. }
  29.  
  30. function GetR3IAPHYSA_Velocity() {
  31.   return R3Get(this.r3obj, R3IAPHYSA_Velocity, R3TID_VECTOR, 0); 
  32. }
  33.  
  34.  
  35.  
  36. function r3Iaphysical () { 
  37.    this.base = r3God;
  38.    if(arguments.length) {
  39.       this.base(R3CLID_IAPHYSICAL, arguments);
  40.    }
  41.    // Attributes
  42.    this.GetSelectedPoints=GetR3IAPHYSA_SelectedPoints;
  43.    this.SetSelectedPoints=SetR3IAPHYSA_SelectedPoints;
  44.    this.GetVelocity=GetR3IAPHYSA_Velocity;
  45.    this.SetVelocity=SetR3IAPHYSA_Velocity;
  46. }
  47.  
  48. r3Iaphysical.prototype=new r3Ianp;
  49. // r3iaphys.h_H